package com.example.activitispringbootstest.util;

/**
 * @author swxu_2005@163.com
 * @date 2019/2/4
 */
public class SecurityUser {

  public static String CURRENT_USER_ID = "ZG-001";
  public static String CURRENT_ROLE = "zg";

  /**
   * 获取用户ID
   */
  public static String getUserId() {
    return CURRENT_USER_ID;
  }

  /**
   * 获取用户的角色
   */
  public static String getRole() {
    return CURRENT_ROLE;
  }

}
